Speaker identification

ABSTRACT

A method of speaker identification comprises receiving an audio signal representing speech; performing a first voice biometric process on the audio signal to attempt to identify whether the speech is the speech of an enrolled speaker; and, if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user, performing a second voice biometric process on the audio signal to attempt to identify whether the speech is the speech of the enrolled speaker. The second voice biometric process is selected to be more discriminative than the first voice biometric process.

The present disclosure is a continuation of U.S. Non-Provisional patent application Ser. No. 15/877,660, filed Jan. 23, 2018, which is incorporated by reference herein in its entirety.

TECHNICAL FIELD

Embodiments described herein relate to methods and devices for analysing speech signals.

BACKGROUND

Many devices include microphones, which can be used to detect ambient sounds. In many situations, the ambient sounds include the speech of one or more nearby speaker. Audio signals generated by the microphones can be used in many ways. For example, audio signals representing speech can be used as the input to a speech recognition system, allowing a user to control a device or system using spoken commands.

SUMMARY

According to an aspect of the invention, there is provided a method of speaker identification, comprising:

-   -   receiving an audio signal representing speech;     -   performing a first voice biometric process on the audio signal         to attempt to identify whether the speech is the speech of an         enrolled speaker; and     -   if the first voice biometric process makes an initial         determination that the speech is the speech of an enrolled user,         performing a second voice biometric process on the audio signal         to attempt to identify whether the speech is the speech of the         enrolled speaker,     -   wherein the second voice biometric process is selected to be         more discriminative than the first voice biometric process.

In some embodiments, the second voice biometric process is configured to have a lower False Acceptance Rate than the first voice biometric process.

In some embodiments, the second voice biometric process is configured to have a lower False Rejection Rate than the first voice biometric process.

In some embodiments, the second voice biometric process is configured to have a lower Equal Error Rate than the first voice biometric process.

In some embodiments, the first voice biometric process is selected as a relatively low power process compared to the second voice biometric process.

In some embodiments, the method comprises making a decision as to whether the speech is the speech of the enrolled speaker, based on a result of the second voice biometric process.

In some embodiments, the method comprises making a decision as to whether the speech is the speech of the enrolled speaker, based on a fusion of a result of the first voice biometric process and a result of the second voice biometric process.

In some embodiments, the first voice biometric process is selected from the following: a process based on analysing a long-term spectrum of the speech; a method using a Gaussian Mixture Model; a method using Mel Frequency Cepstral Coefficients; a method using Principal Component Analysis; a method using machine learning techniques such as Deep Neural Nets (DNNs); and a method using a Support Vector Machine.

In some embodiments, the second voice biometric process is selected from the following: a neural net process; a Joint Factor Analysis process; a Tied Mixture of Factor Analyzers process; and an i-vector process.

In some embodiments, the first voice biometric process is performed in a first device and the second voice biometric process is performed in a second device remote from the first device.

In some embodiments, the method comprises maintaining the second voice biometric process in a low power state, and activating the second voice biometric process if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user.

In some embodiments, the method comprises activating the second voice biometric process in response to an initial determination based on a partial completion of the first voice biometric process that the speech might be the speech of an enrolled user, and deactivating the second voice biometric process in response to a determination based on a completion of the first voice biometric process that the speech is not the speech of the enrolled user.

In some embodiments, the method comprises:

-   -   detecting a trigger phrase in the received audio signal; and     -   responsive to the detecting of a trigger phrase, performing the         first voice biometric process on the received audio signal.

In some embodiments, the method comprises:

-   -   detecting voice activity in the received audio signal; and     -   responsive to the detecting of voice activity, performing the         first voice biometric process on at least a part of the received         audio signal.

In some embodiments, the method comprises:

-   -   detecting voice activity in the received audio signal;     -   responsive to the detecting of voice activity, performing         keyword detection; and     -   responsive to detecting a keyword, performing the first voice         biometric process on at least a part of the received audio         signal.

In some embodiments, the method comprises:

-   -   performing the first voice biometric process on the entire         received audio signal.

In some embodiments, the method comprises using an initial determination by the first voice biometric process, that the speech is the speech of an enrolled user, as an indication that the received audio signal comprises speech.

In some embodiments, the method comprises:

-   -   performing at least a part of a voice biometric process suitable         for determining whether a signal contains speech of an enrolled         user, and generating an output signal when it is determined that         the signal contains human speech.

In some embodiments, the method comprises comparing a similarity score with a first threshold to determine whether the signal contains speech of an enrolled user, and comparing the similarity score with a second, lower, threshold to determine whether the signal contains speech.

In some embodiments, the method comprises determining that the signal contains human speech before it is possible to determine whether the signal contains speech of an enrolled user.

In some embodiments, the first voice biometric process is configured as an analog processing system, and the second voice biometric process is configured as a digital processing system.

According to one aspect, there is provided a speaker identification system, comprising:

-   -   an input for receiving an audio signal representing speech;     -   a first processor for performing a first voice biometric process         on the audio signal to attempt to identify whether the speech is         the speech of an enrolled speaker; and     -   a second processor for performing a second voice biometric         process on the audio signal to attempt to identify whether the         speech is the speech of the enrolled speaker,     -   wherein the second voice biometric process is initiated if the         first voice biometric process makes an initial determination         that the speech is the speech of an enrolled user, and     -   wherein the second voice biometric process is selected to be         more discriminative than the first voice biometric process.

In some embodiments, the speaker identification system further comprises:

-   -   a buffer, for storing the received audio signal, and for         supplying the stored received audio signal to the second voice         biometric process if the first voice biometric process makes an         initial determination that the speech is the speech of an         enrolled user.

In some embodiments, the second voice biometric process is configured to have a lower False Acceptance Rate than the first voice biometric process.

In some embodiments, the second voice biometric process is configured to have a lower False Rejection Rate than the first voice biometric process.

In some embodiments, the second voice biometric process is configured to have a lower Equal Error Rate than the first voice biometric process.

In some embodiments, the first voice biometric process is selected as a relatively low power process compared to the second voice biometric process.

In some embodiments, the speaker identification system is configured for making a decision as to whether the speech is the speech of the enrolled speaker, based on a result of the second voice biometric process.

In some embodiments, the speaker identification system is configured for making a decision as to whether the speech is the speech of the enrolled speaker, based on a fusion of a result of the first voice biometric process and a result of the second voice biometric process.

In some embodiments, the first voice biometric process is selected from the following: a process based on analysing a long-term spectrum of the speech; a method using a Gaussian Mixture Model; a method using Mel Frequency Cepstral Coefficients; a method using Principal Component Analysis; a method using machine learning techniques such as Deep Neural Nets (DNNs); and a method using a Support Vector Machine.

In some embodiments, the second voice biometric process is selected from the following: a neural net process; a Joint Factor Analysis process; a Tied Mixture of Factor Analyzers process; and an i-vector process.

In some embodiments, the speaker identification system comprises:

-   -   a first device; and     -   a second device,     -   wherein the first device includes the first processor, and the         second device includes the second processor.

In some embodiments, the first device comprises a first integrated circuit, and the second device comprises a second integrated circuit.

In some embodiments, the first device comprises a dedicated biometrics integrated circuit.

In some embodiments, the first device is an accessory device.

In some embodiments, the first device is a listening device.

In some embodiments, the second device comprises an applications processor.

In some embodiments, the second device is a handset device.

In some embodiments, the second device is a smartphone.

In some embodiments, the speaker identification system comprises:

-   -   a trigger phrase detector for attempting to detect a trigger         phrase in the received audio signal,     -   wherein the first processor is responsive to the trigger phrase         detector, and configured to perform the first voice biometric         process on the received audio signal in response to detecting of         a trigger phrase.

In some embodiments, the speaker identification system comprises:

-   -   a voice activity detector for attempting to detect human speech         in the received audio signal,     -   wherein the first processor is responsive to the trigger phrase         detector, and configured to perform the first voice biometric         process on the received audio signal responsive to detecting of         voice activity.

In some embodiments, the first processor is configured to receive the entire received audio signal for performing the first voice biometric process thereon.

In some embodiments, the first voice biometric process is configured as an analog processing system, and the second voice biometric process is configured as a digital processing system.

According to another aspect of the present invention, there is provided a device comprising such a system. The device may comprise a mobile telephone, an audio player, a video player, a mobile computing platform, a games device, a remote controller device, a toy, a machine, or a home automation controller or a domestic appliance.

According to an aspect, there is provided a processor integrated circuit for use in a speaker identification system, the processor integrated circuit comprising:

-   -   an input for receiving an audio signal representing speech;     -   a first processor for performing a first voice biometric process         on the audio signal to attempt to identify whether the speech is         the speech of an enrolled speaker; and     -   an output, for providing the audio signal to a separate device         if the first voice biometric process makes an initial         determination that the speech is the speech of an enrolled user.

In some embodiments, the processor integrated circuit further comprises:

-   -   a buffer, for storing the received audio signal, and for         supplying the stored received audio signal to the output if the         first voice biometric process makes an initial determination         that the speech is the speech of an enrolled user.

In some embodiments, the first voice biometric process is selected from the following: a process based on analysing a long-term spectrum of the speech; a method using a Gaussian Mixture Model; a method using Mel Frequency Cepstral Coefficients; a method using Principal Component Analysis; a method using machine learning techniques such as Deep Neural Nets (DNNs); and a method using a Support Vector Machine.

In some embodiments, the first voice biometric process is configured as an analog processing system.

In some embodiments, the processor integrated circuit further comprises an anti-spoofing block, for performing one or more tests on the received signal to determine whether the received signal has properties that may indicate that it results from a replay attack.

According to an aspect, there is provided a processor integrated circuit for use in a speaker identification system, the processor integrated circuit comprising:

-   -   an input for receiving an audio signal representing speech;     -   a second processor for performing a second voice biometric         process on the audio signal to attempt to identify whether the         speech is the speech of the enrolled speaker, wherein the second         voice biometric process is initiated if a first voice biometric         process performed on a separate device makes an initial         determination that the speech is the speech of an enrolled user,         and     -   wherein the second voice biometric process is selected to be         more discriminative than the first voice biometric process.

In some embodiments, the processor integrated circuit comprises a decision block, for making a decision as to whether the speech is the speech of the enrolled speaker, based on a result of the second voice biometric process.

In some embodiments, the processor integrated circuit comprises a decision block, for making a decision as to whether the speech is the speech of the enrolled speaker, based on a fusion of a result of the first voice biometric process performed on the separate device and a result of the second voice biometric process.

In some embodiments, the second voice biometric process is selected from the following: a neural net process; a Joint Factor Analysis process; a Tied Mixture of Factor Analyzers process; and an i-vector process.

In some embodiments, the second device comprises an applications processor.

According to another aspect of the present invention, there is provided a computer program product, comprising a computer-readable tangible medium, and instructions for performing a method according to the first aspect.

According to another aspect of the present invention, there is provided a non-transitory computer readable storage medium having computer-executable instructions stored thereon that, when executed by processor circuitry, cause the processor circuitry to perform a method according to the first aspect.

According to another aspect of the present invention, there is provided a method of voice activity detection, the method comprising performing at least a part of a voice biometric process suitable for determining whether a signal contains speech of an enrolled user, and generating an output signal when it is determined that the signal contains human speech.

The method may comprise comparing a similarity score with a first threshold to determine whether the signal contains speech of an enrolled user, and comparing the similarity score with a second, lower, threshold to determine whether the signal contains speech.

The method may comprise determining that the signal contains human speech before it is possible to determine whether the signal contains speech of an enrolled user.

BRIEF DESCRIPTION OF DRAWINGS

For a better understanding of the present invention, and to show how it may be put into effect, reference will now be made to the accompanying drawings, in which:

FIG. 1 illustrates a smartphone;

FIG. 2 is a schematic diagram, illustrating the form of the smartphone;

FIG. 3 is a flow chart illustrating a method of analysing an audio signal;

FIG. 4 is a block diagram illustrating a system for analysing an audio signal;

FIG. 5 is a block diagram illustrating an alternative system for analysing an audio signal;

FIG. 6 is a block diagram illustrating an alternative system for analysing an audio signal;

FIG. 7 illustrates a use of the method of FIG. 3 ;

FIG. 8 illustrates a second use of the method of FIG. 3 ;

FIG. 9 is a block diagram illustrating a further system for analysing an audio signal;

FIG. 10 is a block diagram illustrating a further system for analysing an audio signal; and

FIG. 11 is a block diagram illustrating a further system for analysing an audio signal.

DETAILED DESCRIPTION OF EMBODIMENTS

The description below sets forth example embodiments according to this disclosure. Further example embodiments and implementations will be apparent to those having ordinary skill in the art. Further, those having ordinary skill in the art will recognize that various equivalent techniques may be applied in lieu of, or in conjunction with, the embodiments discussed below, and all such equivalents should be deemed as being encompassed by the present disclosure.

The methods described herein can be implemented in a wide range of devices and systems. However, for ease of explanation of one embodiment, an illustrative example will be described, in which the implementation occurs in a smartphone.

FIG. 1 illustrates a smartphone 10, having a microphone 12 for detecting ambient sounds. In normal use, the microphone is of course used for detecting the speech of a user who is holding the smartphone 10 close to their face.

FIG. 2 is a schematic diagram, illustrating the form of the smartphone 10.

Specifically, FIG. 2 shows various interconnected components of the smartphone 10. It will be appreciated that the smartphone 10 will in practice contain many other components, but the following description is sufficient for an understanding of the present invention.

Thus, FIG. 2 shows the microphone 12 mentioned above. In certain embodiments, the smartphone 10 is provided with multiple microphones 12, 12 a, 12 b, etc.

FIG. 2 also shows a memory 14, which may in practice be provided as a single component or as multiple components. The memory 14 is provided for storing data and program instructions.

FIG. 2 also shows a processor 16, which again may in practice be provided as a single component or as multiple components. For example, one component of the processor 16 may be an applications processor of the smartphone 10.

FIG. 2 also shows a transceiver 18, which is provided for allowing the smartphone 10 to communicate with external networks. For example, the transceiver 18 may include circuitry for establishing an internet connection either over a WiFi local area network or over a cellular network.

FIG. 2 also shows audio processing circuitry 20, for performing operations on the audio signals detected by the microphone 12 as required. For example, the audio processing circuitry 20 may filter the audio signals or perform other signal processing operations.

In this embodiment, the smartphone 10 is provided with voice biometric functionality, and with control functionality. Thus, the smartphone 10 is able to perform various functions in response to spoken commands from an enrolled user. The biometric functionality is able to distinguish between spoken commands from the enrolled user, and the same commands when spoken by a different person. Thus, certain embodiments of the invention relate to operation of a smartphone or another portable electronic device with some sort of voice operability, for example a tablet or laptop computer, a games console, a home control system, a home entertainment system, an in-vehicle entertainment system, a domestic appliance, or the like, in which the voice biometric functionality is performed in the device that is intended to carry out the spoken command. Certain other embodiments relate to systems in which the voice biometric functionality is performed on a smartphone or other device, which then transmits the commands to a separate device if the voice biometric functionality is able to confirm that the speaker was the enrolled user.

In some embodiments, while voice biometric functionality is performed on the smartphone 10 or other device that is located close to the user, the spoken commands are transmitted using the transceiver 18 to a remote speech recognition system, which determines the meaning of the spoken commands. For example, the speech recognition system may be located on one or more remote server in a cloud computing environment. Signals based on the meaning of the spoken commands are then returned to the smartphone 10 or other local device.

In other embodiments, a first part of the voice biometric functionality is performed on the smartphone 10 or other device that is located close to the user. Then, as described in more detail below, a signal may be transmitted using the transceiver 18 to a remote system, which performs a second part of the voice biometric functionality.

For example, the speech recognition system may be located on one or more remote server in a cloud computing environment. Signals based on the meaning of the spoken commands are then returned to the smartphone 10 or other local device.

Methods described herein proceed from the recognition that different parts of a user's speech have different properties.

Specifically, it is known that speech can be divided into voiced sounds and unvoiced or voiceless sounds. A voiced sound is one in which the vocal cords of the speaker vibrate, and a voiceless sound is one in which they do not.

It is now recognised that the voiced and unvoiced sounds have different frequency properties, and that these different frequency properties can be used to obtain useful information about the speech signal.

FIG. 3 is a flow chart, illustrating a method of analysing an audio signal, and FIGS. 4 and 5 are block diagrams illustrating functional blocks in the analysis system.

Specifically, in step 60 in the method of FIG. 3 , an audio signal, which is expected to contain speech, is generated by a microphone 12 of the system shown in FIGS. 4 and 5 , in response to the detected sound.

The audio signal may for example be expected to contain the speech of a specific speaker, who has previously enrolled in the speaker recognition system. In that case, the aim of the method may be to determine whether the person speaking is indeed the enrolled speaker, in order to determine whether any commands that are spoken by that person should be acted upon.

The signal generated by the microphone 12 is passed to a pre-processing block 80. Typically, the signal received from the microphone 12 is an analog signal, and the pre-processing block 80 includes an analog-digital converter, for converting the signal into a digital form. Also in the pre-processing block 80, the received signal is divided into frames, which may for example have lengths in the range of 10-100 ms, and then passed to a voice activity detection block. Frames that are considered to contain speech are then output from the pre-processing block 80. In other embodiments, different acoustic classes of speech are considered. In that case, for example, frames that are considered to contain voiced speech are output from the pre-processing block 80.

In some cases, the speech processing system is a trigger-dependent system. In such cases, it is determined whether the detected speech contains a predetermined trigger phrase (such as “Hello phone”, or the like) that the user must speak in order to wake the system out of a low-power mode. The frames that are considered to contain voiced speech are then output from the pre-processing block 80 only when that trigger phrase has been detected. Thus, in this case, there is a voice activity detection step; if voice activity is detected, a voice keyword detection (trigger phrase detection) process is initiated; and the audio signal is output from the pre-processing block 80 only if voice activity is detected and if the keyword (trigger phrase) is detected.

In other cases, the speech processing system does not rely on the use of a trigger phrase. In such cases, all frames that are considered to contain voiced speech are output from the pre-processing block 80.

The signal output from the pre-processing block 80 is passed to a first voice biometric block (Vbio1) 82 and, in step 62 of the process shown in FIG. 3 , a first voice biometric process is performed on the audio signal. As is conventional for a voice biometric process, this attempts to identify, in step 64 of the process shown in FIG. 3 , whether the speech is the speech of an enrolled speaker.

If the first voice biometric process performed in the first voice biometric block 82 determines that the speech is not the speech of the enrolled speaker, the process passes to step 66, and ends. Any speech thereafter may be disregarded, until such time as there is evidence that a different person has started speaking.

The signal output from the pre-processing block 80 is also passed to a buffer 83, the output of which is connected to a second voice biometric block (Vbio2) 84. If, in step 64 of the process shown in FIG. 3 , the first voice biometric process has made a provisional or initial determination that the speech might be the speech of the enrolled speaker, the second voice biometric block 84 is activated.

Then, in step 68 of the process shown in FIG. 3 , a second voice biometric process is performed on the audio signal that was stored in the buffer 83. Again, this second biometric process attempts to identify whether the speech is the speech of an enrolled speaker.

The second voice biometric process performed in step 68 is selected to be more discriminative than the first voice biometric process performed in step 62.

For example, the term “more discriminative” may mean that the second voice biometric process is configured to have a lower False Acceptance Rate (FAR), a lower False Rejection Rate (FRR), or a lower Equal Error Rate (EER) than the first voice biometric process.

Thus, the first voice biometric process may be selected as a relatively low power, and/or less computationally expensive, process, compared to the second voice biometric process. This means that the first voice biometric process can be running on all detected speech, while the higher power and/or more computationally expensive second voice biometric process can be maintained in a low power or inactive state, and activated only when the first process already suggests that there is a high probability that the speech is the speech of the enrolled speaker. In some other embodiments, where the first voice biometric process is a suitably low power process, it can be used without using a voice activity detection block in the pre-processing block 80. In those embodiments, all frames (or all frames that are considered to contain a noticeable signal level) are output from the pre-processing block 80. This is applicable when the first voice biometric process is such that it is considered more preferable to run the first voice biometric process on the entire audio signal than to run a dedicated voice activity detector on the entire audio signal and then run the first voice biometric process on the frames of the audio signal that contain speech.

In some embodiments, the second voice biometric block 84 is activated when the first voice biometric process has completed, and has made a provisional or initial determination based on the whole of a speech segment that the speech might be the speech of the enrolled speaker.

In other embodiments, in order to reduce the latency of the system, the second voice biometric block 84 is activated before the first voice biometric process has completed. In those embodiments, the provisional or initial determination can be based on an initial part of a speech segment or alternatively can be based on a partial calculation relating to the whole of a speech segment. Further, in such cases, the second voice biometric block 84 is deactivated if the final determination by the first voice biometric process is that there is a relatively low probability the speech is the speech of the enrolled speaker.

For example, the first voice biometric process may be a voice biometric process selected from a group comprising: a process based on analysing a long-term spectrum of the speech, as described in UK Patent Application No. 1719734.4; a method using simple Gaussian Mixture Model (GMM); a method using Mel Frequency Cepstral Coefficients (MFCC); a method using Principal Component Analysis (PCA); a method using machine learning techniques such as Deep Neural Nets (DNNs); and a method using a Support Vector Machine (SVM), amongst others.

For example, the second voice biometric process may be a voice biometric process selected from a group comprising: a neural net (NN) process; a Joint Factor Analysis (JFA) process; a Tied Mixture of Factor Analyzers (TMFA); and an i-vector process, amongst others.

In some examples, the first voice biometric process may be configured as an analog processing biometric system, with the second voice biometric process configured as a digital processing biometric system.

FIG. 6 is a block diagram illustrating functional blocks in the analysis system in that case.

As in FIGS. 4 and 5 , an audio signal, which is expected to contain speech, is generated by a microphone 12 in response to the detected sound.

As before, the audio signal may for example be expected to contain the speech of a specific speaker, who has previously enrolled in the speaker recognition system. In that case, the aim of the method may be to determine whether the person speaking is indeed the enrolled speaker, in order to determine whether any commands that are spoken by that person should be acted upon.

The signal generated by the microphone 12 is passed to a first voice biometric block, which in this embodiment is an analog processing circuit (Vbio1A) 120, that is a computing circuit constructed using resistors, inductors, op amps, etc. This performs a first voice biometric process on the audio signal. As is conventional for a voice biometric process, this attempts to identify, as in step 64 of the process shown in FIG. 3 , whether the speech is the speech of an enrolled speaker.

If the first voice biometric process performed in the first voice biometric block 120 determines that the speech is not the speech of the enrolled speaker, the process ends. Any speech thereafter may be disregarded, until such time as there is evidence that a different person has started speaking.

Separately, the signal generated by the microphone 12 is passed to a pre-processing block, which includes at least an analog-digital converter (ADC) 122, for converting the signal into a digital form. The pre-processing block may also divide the received signal into frames, which may for example have lengths in the range of 10-100 ms.

The signal output from the pre-processing block including the analog-digital converter 122 is passed to a buffer 124, the output of which is connected to a second voice biometric block (Vbio2) 84. If the first voice biometric process makes a provisional or initial determination that the speech might be the speech of the enrolled speaker, the second voice biometric block 84 is activated, and the relevant part of the data stored in the buffer 124 is output to the second voice biometric block 84.

Then, a second voice biometric process is performed on the relevant part of the audio signal that was stored in the buffer 124. Again, this second biometric process attempts to identify whether the speech is the speech of an enrolled speaker.

The second voice biometric process is selected to be more discriminative than the first voice biometric process.

For example, the term “more discriminative” may mean that the second voice biometric process is configured to have a lower False Acceptance Rate (FAR), a lower False Rejection Rate (FRR), or a lower Equal Error Rate (EER) than the first voice biometric process.

The analog first voice biometric process will typically be a relatively low power process, compared to the second voice biometric process. This means that the first voice biometric process can be running on all signals that are considered to contain a noticeable signal level, without the need for a separate voice activity detector.

As mentioned above, in some embodiments, the second voice biometric block 84 is activated when the first voice biometric process has completed, and has made a provisional or initial determination based on the whole of a speech segment that the speech might be the speech of the enrolled speaker. In other embodiments, in order to reduce the latency of the system, the second voice biometric block 84 is activated before the first voice biometric process has completed. In those embodiments, the provisional or initial determination can be based on an initial part of a speech segment or alternatively can be based on a partial calculation relating to the whole of a speech segment. Further, in such cases, the second voice biometric block 84 is deactivated if the final determination by the first voice biometric process is that there is a relatively low probability the speech is the speech of the enrolled speaker.

For example, the second voice biometric process may be a voice biometric process selected from a group comprising: a neural net (NN) process; a Joint Factor Analysis (JFA) process; a Tied Mixture of Factor Analyzers (TMFA); and an i-vector process, amongst others.

As described above with reference to FIGS. 4, 5 and 6 , the first voice biometric process makes an initial attempt to identify whether the speech is the speech of the enrolled speaker. If that process determines that there is a sufficiently high probability that the speech is the speech of the enrolled speaker, the second voice biometric process makes an attempt to identify whether the speech is the speech of the enrolled speaker.

As shown in FIG. 4 , one possibility is that the output from the second voice biometric process 84 is passed to a decision block 86, which decides whether to accept that the speech is the speech of the enrolled speaker. For example, the second voice biometric process 84 may generate a likelihood score, and the decision block 86 may compare this with a threshold value, with that threshold value potentially being set based on a required security level. Thus, in a low security application, the threshold value may be set to be low, ensuring a low False Rejection Rate but with an increased False Acceptance Rate. In a higher security application, the threshold value may be set to be high, ensuring a low False Acceptance Rate, but with an increased False Rejection Rate. As noted above, however, the second voice biometric process 84 may be a relatively computationally expensive process, so that in any event the combination of the False Acceptance Rate and the False Rejection Rate (or the Equal Error Rate) is better than can be obtained from the first voice biometric process.

As shown in FIGS. 5 and 6 , an alternative possibility is that the outputs from the first voice biometric process 82 and from the second voice biometric process 84, 120 are both passed to a fusion and decision block 90. In the case of the embodiment shown in FIG. 6 , depending on the form of the result signal that is output from the analog computing process 120, this signal may be passed to an analog-digital converter (ADC) 126 to put the signal into a digital form before passing it to the fusion and decision block 90. The fusion and decision block 90 combines the scores from the two processes and decides whether to accept that the speech is the speech of the enrolled speaker.

For example, with a score S₁ generated by the first voice biometric process 82 and a score S₂ generated by the second voice biometric process, the combined score S_(T) may be a weighted sum of these two scores, i.e.: S _(T) =αS ₁+(1−α)S ₂.

Alternatively, the fusion and decision block 90 may combine the decisions from the two processes and decide whether to accept that the speech is the speech of the enrolled speaker.

For example, with a score S₁ generated by the first voice biometric process 82 and a score S₂ generated by the second voice biometric process, it is determined whether S₁ exceeds a first threshold th1 that is relevant to the first voice biometric process 82 and whether S₂ exceeds a second threshold th2 that is relevant to the second voice biometric process. The fusion and decision block 90 may then decide to accept that the speech is the speech of the enrolled speaker if both of the scores exceed the respective threshold.

Combining the results of the two biometric processes means that the decision can be based on more information, and so it is possible to achieve a lower Equal Error Rate than could be achieved using either process separately.

As noted above, the first and second voice biometric processes may both be performed in a device such as the smartphone 10. However, in other examples, the first and second voice biometric processes may be performed in separate devices.

For example, as shown in FIG. 7 , the first voice biometric processes may be performed in a device such as the smartphone 10. Then, the received audio signal may be transmitted over a network 100 to a remote device (for example a cloud-based biometric processor 102) using the transceiver 18 only in the event that the first voice biometric process has made a provisional or initial determination that the speech might be the speech of the enrolled speaker. The second voice biometric processes may then be performed in the remote device 102.

As another example, as shown in FIG. 8 , an accessory such as a headset 110 or other listening device such as a pair of earbuds, may be in use in conjunction with a device such as the smartphone 10. In that case, the first voice biometric processes may be performed in the accessory device such as the headset 110. Then, the received audio signal may be transmitted to the smartphone 10 only in the event that the first voice biometric process has made a provisional or initial determination that the speech might be the speech of the enrolled speaker. The second voice biometric processes may then be performed in the smartphone 10. Thus, wireless transmission circuitry in the accessory device may be activated, to transmit data to the host device, only when it is determined in the accessory device that the speech might be that of the enrolled speaker.

In addition, even when the first and second voice biometric processes are both performed in a device such as the smartphone 10, they may be performed in separate integrated circuits.

FIG. 9 shows one example of this. FIG. 9 corresponds generally to FIG. 4 , but shows that the pre-processing block 80, the first voice biometric process 82, and the buffer 83 are provided on a first integrated circuit 140, for example a dedicated low-power biometrics chip. This may operate in an “always on” manner, such that all received signals are passed to the first biometric process 82. In that case, the first biometric process 82 may act as a voice activity detector. Alternatively, the first biometric process 82 may be activated in response to a voice activity detector (either within the pre-processing block 80 or separate from the first integrated circuit 140) determining that the signal contains speech.

In addition, the first integrated circuit 140 may contain an anti-spoofing block 142, for performing one or more tests on the received signal to determine whether the received signal has properties that may indicate that it results not from the user speaking into the device, but from a replay attack where a recording of the enrolled user's voice is used to try and gain illicit access to the system. If the output of the anti-spoofing block 142 indicates that the received signal may result from a replay attack, then this output may be used to prevent the second voice biometric process being activated, or may be passed to the decision block 86 for its use in making its decision on whether to act on the spoken input.

Meanwhile, the second voice biometric process 84 and the decision block 86 are provided on a second integrated circuit 144, for example a high-power, high-performance chip, such as the applications processor of the smartphone.

FIG. 10 shows another example of this. FIG. 10 corresponds generally to FIG. 5 , but shows that the pre-processing block 80, the first voice biometric process 82, and the buffer 83 are provided on a first integrated circuit 150, for example a dedicated low-power biometrics chip. This may operate in an “always on” manner, such that all received signals are passed to the first biometric process 82. In that case, the first biometric process 82 may act as a voice activity detector. Alternatively, the first biometric process 82 may be activated in response to a voice activity detector (either within the pre-processing block 80 or separate from the first integrated circuit 150) determining that the signal contains speech.

In addition, the first integrated circuit 150 may contain an anti-spoofing block 142, for performing one or more tests on the received signal to determine whether the received signal has properties that may indicate that it results not from the user speaking into the device, but from a replay attack where a recording of the enrolled user's voice is used to try and gain illicit access to the system. If the output of the anti-spoofing block 142 indicates that the received signal may result from a replay attack, then this output may be used to prevent the second voice biometric process being activated, or may be passed to the fusion and decision block 90 for its use in making its decision on whether to act on the spoken input.

Meanwhile, the second voice biometric process 84 and the fusion and decision block 90 are provided on a second integrated circuit 152, for example a high-power, high-performance chip, such as the applications processor of the smartphone.

FIG. 11 shows another example of this division of the functionality. FIG. 11 corresponds generally to FIG. 6 , but shows that the analog first voice biometric process 120, the analog-digital converters (ADCs) 122, 126, and the buffer 124 are provided on a first integrated circuit 160, for example a dedicated low-power biometrics chip. This may operate in an “always on” manner, such that all received signals are passed to the analog first biometric process 120. In that case, the first biometric process 120 may act as a voice activity detector.

In addition, the first integrated circuit 160 may contain an anti-spoofing block 142, for performing one or more tests on the received signal to determine whether the received signal has properties that may indicate that it results not from the user speaking into the device, but from a replay attack where a recording of the enrolled user's voice is used to try and gain illicit access to the system. If the output of the anti-spoofing block 142 indicates that the received signal may result from a replay attack, then this output may be used to prevent the second voice biometric process being activated, or may be passed to the fusion and decision block 90 for its use in making its decision on whether to act on the spoken input.

Meanwhile, the second voice biometric process 84 and the fusion and decision block 90 are provided on a second integrated circuit 162, for example a high-power, high-performance chip, such as the applications processor of the smartphone.

It was mentioned above in connection with FIGS. 9 and 10 that the first biometric process 82 may act as a voice activity detector. Similarly, it was mentioned in connection with FIG. 11 that the first biometric process 120 may act as a voice activity detector. A voice biometric can be used as a voice activity detector because there is a similarity between the processes. A voice biometric process typically compares features extracted from the received speech against a voiceprint that is made of features extracted from the enrolled user's speech. If the similarity score exceeds a particular threshold, meaning that the degree of similarity is high enough, then the received speech is considered to be that of the enrolled user. If it is determined by the first voice biometric process that the speech is the speech of an enrolled user, this can be used as an indication that the received audio signal comprises speech.

The similarity score can also be compared with a lower threshold. If the similarity score exceeds that lower threshold, then this will typically be insufficient to say that the received signal contains the speech of the enrolled user, but it will be possible to say that the received signal does contain speech.

Similarly, it may be possible to determine that the received signal does contain speech, before it is possible to determine with any certainty that the received signal contains the speech of the enrolled user. For example, in the case where the first voice biometric process is based on analysing a long-term spectrum of the speech, it may be necessary to look at, say, 100 frames of the signal in order to obtain a statistically robust spectrum, that can be used to determine whether the specific features of that spectrum are characteristic of the particular enrolled speaker. However, it may already be possible after a much smaller number of samples, for example 10-20 frames, to determine that the spectrum is that of human speech rather than of a noise source, a mechanical sound, or the like.

Thus, in this case, while the first voice biometric process is being performed, an intermediate output can be generated and used as a voice activity detection signal. This can be supplied to any other processing block in the system, for example to control whether a speech recognition process should be enabled.

The skilled person will recognise that some aspects of the above-described apparatus and methods may be embodied as processor control code, for example on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. For many applications embodiments of the invention will be implemented on a DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array). Thus the code may comprise conventional program code or microcode or, for example code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly the code may comprise code for a hardware description language such as Verilog™ or VHDL (Very high speed integrated circuit Hardware Description Language). As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, the embodiments may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware.

Note that as used herein the term module shall be used to refer to a functional unit or block which may be implemented at least partly by dedicated hardware components such as custom defined circuitry and/or at least partly be implemented by one or more software processors or appropriate code running on a suitable general purpose processor or the like. A module may itself comprise other modules or functional units. A module may be provided by multiple components or sub-modules which need not be co-located and could be provided on different integrated circuits and/or running on different processors.

Embodiments may be implemented in a host device, especially a portable and/or battery powered host device such as a mobile computing device for example a laptop or tablet computer, a games console, a remote control device, a home automation controller or a domestic appliance including a domestic temperature or lighting control system, a toy, a machine such as a robot, an audio player, a video player, or a mobile telephone for example a smartphone.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim, “a” or “an” does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope. 

The invention claimed is:
 1. A method of speaker identification, performed in a portable electronic device, wherein the portable electronic device comprises first and second integrated circuits, the method comprising: receiving an audio signal representing speech; performing a first voice biometric process on the audio signal in said first integrated circuit of said portable electronic device to attempt to identify whether the speech is the speech of an enrolled speaker; and if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user, performing a second voice biometric process on the audio signal in said second integrated circuit of said portable electronic device to attempt to identify whether the speech is the speech of the enrolled speaker, wherein the second voice biometric process is selected to be more discriminative than the first voice biometric process, and wherein the first voice biometric process is selected to be relatively low-power compared to the second voice biometric process and wherein the first integrated circuit is configured to perform the first biometric process using relatively less power than the second integrated circuit performing the second voice biometric process.
 2. A method according to claim 1, wherein the second voice biometric process is configured to have a lower Equal Error Rate than the first voice biometric process.
 3. A method according to claim 1, comprising making a decision as to whether the speech is the speech of the enrolled speaker, based on a result of the second voice biometric process.
 4. A method according to claim 1, comprising making a decision as to whether the speech is the speech of the enrolled speaker, based on a fusion of a result of the first voice biometric process and a result of the second voice biometric process.
 5. A method according to claim 1, wherein the first voice biometric process is selected from the following: a process based on analysing a long-term spectrum of the speech; a method using a Gaussian Mixture Model; a method using Mel Frequency Cepstral Coefficients; a method using Principal Component Analysis; a method using machine learning techniques such as Deep Neural Nets (DNNs); and a method using a Support Vector Machine.
 6. A method according to claim 1, wherein the second voice biometric process is selected from the following: a neural net process, a Joint Factor Analysis process; a Tied Mixture of Factor Analyzers process; and an i-vector process.
 7. A method according to claim 1, comprising maintaining the second voice biometric process in a low power state, and activating the second voice biometric process if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user.
 8. A method according to claim 1, comprising activating the second voice biometric process in response to an initial determination based on a partial completion of the first voice biometric process that the speech might be the speech of an enrolled user, and deactivating the second voice biometric process in response to a determination based on a completion of the first voice biometric process that the speech is not the speech of the enrolled user.
 9. A method according to claim 1, comprising: detecting a trigger phrase in the received audio signal; and responsive to the detecting of the trigger phrase, performing the first voice biometric process on the received audio signal.
 10. A method according to claim 1, comprising: detecting voice activity in the received audio signal; and responsive to the detecting of voice activity, performing the first voice biometric process on at least a part of the received audio signal.
 11. A method according to claim 1, comprising: detecting voice activity in the received audio signal; responsive to the detecting of voice activity, performing keyword detection; and responsive to detecting a keyword, performing the first voice biometric process on at least a part of the received audio signal.
 12. A method according to claim 1, comprising: performing the first voice biometric process on the entire received audio signal.
 13. A method according to claim 1, comprising using an initial determination by the first voice biometric process, that the speech is the speech of an enrolled user, as an indication that the received audio signal comprises speech.
 14. A method according to claim 1, comprising: performing at least a part of a voice biometric process suitable for determining whether a signal contains speech of an enrolled user, and generating an output signal when it is determined that the signal contains human speech.
 15. A method according to claim 14, comprising comparing a similarity score with a first threshold to determine whether the signal contains speech of an enrolled user, and comparing the similarity score with a second, lower, threshold to determine whether the signal contains speech.
 16. A method according to claim 14, comprising determining that the signal contains human speech before it is possible to determine whether the signal contains speech of an enrolled user.
 17. A method according to claim 1, wherein the first voice biometric process is configured as an analog processing system, and the second voice biometric process is configured as a digital processing system.
 18. A speaker identification system, performed in a portable electronic device, wherein the portable electronic device comprises first and second integrated circuits, the system comprising: an input for receiving an audio signal representing speech; a first processor for performing a first voice biometric process on the audio signal in said first integrated circuit of said portable electronic device to attempt to identify whether the speech is the speech of an enrolled speaker; and a second processor for performing a second voice biometric process on the audio signal in said second integrated circuit of said portable electronic device to attempt to identify whether the speech is the speech of the enrolled speaker, wherein the second voice biometric process is initiated if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user, wherein the second voice biometric process is selected to be more discriminative than the first voice biometric process, and wherein the first voice biometric process is selected to be relatively low-power compared to the second voice biometric process and wherein the first integrated circuit is configured to perform the first biometric process using relatively less power than the second integrated circuit performing the second voice biometric process.
 19. A speaker identification system according to claim 18, further comprising: a buffer, for storing the received audio signal, and for supplying the stored received audio signal to the second voice biometric process if the first voice biometric process makes an initial determination that the speech is the speech of an enrolled user.
 20. A speaker identification system according to claim 18, comprising: a first device; and a second device, wherein the first device includes the first processor, and the second device includes the second processor. 